package org.dromara.oce.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.annotation.DataColumn;
import org.dromara.common.mybatis.annotation.DataPermission;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.oce.domain.OcePromotionAddEverydayCensus;
import org.dromara.oce.domain.vo.OcePromotionAddEverydayCensusVo;

import java.util.List;

/**
 * 广告每日新增数量统计Mapper接口
 *
 * @author Lion Li
 * @date 2024-12-24
 */
public interface OcePromotionAddEverydayCensusMapper extends BaseMapperPlus<OcePromotionAddEverydayCensus, OcePromotionAddEverydayCensusVo> {

    @Override
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id")
    })
    List<OcePromotionAddEverydayCensus> selectList(IPage<OcePromotionAddEverydayCensus> page, @Param(Constants.WRAPPER) Wrapper<OcePromotionAddEverydayCensus> queryWrapper);

    @Override
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id")
    })
    List<OcePromotionAddEverydayCensus> selectList(@Param(Constants.WRAPPER) Wrapper<OcePromotionAddEverydayCensus> queryWrapper);

    List<OcePromotionAddEverydayCensus> selectJobList(@Param(Constants.WRAPPER) Wrapper<OcePromotionAddEverydayCensus> queryWrapper);
}
